package com.ruoyi.wq.domain;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.mybatis.base.BaseEntity;

/**
 * 固玩组队对象 wq_game_home
 * 
 * @author ruoyi
 * @date 2023-05-26
 */
public class WqGameHome extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /** 主键 */
    @TableId(type = IdType.UUID)
    private String id;

    /** 房间名称 */
    @Excel(name = "房间名称")
    private String title;

    /** 微信区/QQ区 */
    @Excel(name = "微信区/QQ区")
    private String area;

    /** 组CP/来上分 */
    @Excel(name = "组CP/来上分")
    private String gameType;

    /** 保证金/免保证金 */
    @Excel(name = "保证金/免保证金")
    private String coinType;

    /** 房间人数 */
    @Excel(name = "房间人数")
    private Integer userNum;
    
    /** 参加人数 */
    private Integer joinNum;

    /** 段位要求 */
    @Excel(name = "段位要求")
    private String levelLimit;
    
    /** 分路要求 */
    @Excel(name = "分路要求")
    private String roleLimit;

    /** 在线时间段 */
    @Excel(name = "在线时间段")
    private String onlineTime;

    /** 固玩期限 */
    @Excel(name = "固玩期限")
    private Long gameLimit;

    /** 开始时间 */
    @Excel(name = "开始时间")
    private String startTime;

    /** 开始日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "开始日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date startDate;

    /** 结束日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "结束日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date endDate;

    /** 上路 */
    @Excel(name = "上路")
    private Long shangUserId;

    /** 中路 */
    @Excel(name = "中路")
    private Long zhongUserId;

    /** 射手 */
    @Excel(name = "射手")
    private Long shootUserId;

    /** 辅助 */
    @Excel(name = "辅助")
    private Long fuzhuUserId;

    /** 打野 */
    @Excel(name = "打野")
    private Long dayeUserId;

    /** 房主 */
    @Excel(name = "房主")
    private Long userId;

    /** 状态（0正常 1停用） */
    @Excel(name = "状态", readConverterExp = "0=正常,1=停用")
    private String status;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setTitle(String title) 
    {
        this.title = title;
    }

    public String getTitle() 
    {
        return title;
    }
    public void setArea(String area) 
    {
        this.area = area;
    }

    public String getArea() 
    {
        return area;
    }
    public void setGameType(String gameType) 
    {
        this.gameType = gameType;
    }

    public String getGameType() 
    {
        return gameType;
    }
    public void setCoinType(String coinType) 
    {
        this.coinType = coinType;
    }

    public String getCoinType() 
    {
        return coinType;
    }
    public void setUserNum(Integer userNum) 
    {
        this.userNum = userNum;
    }

    public Integer getUserNum() 
    {
        return userNum;
    }
    public Integer getJoinNum() {
		return joinNum;
	}

	public void setJoinNum(Integer joinNum) {
		this.joinNum = joinNum;
	}

	public void setLevelLimit(String levelLimit) 
    {
        this.levelLimit = levelLimit;
    }

    public String getLevelLimit() 
    {
        return levelLimit;
    }
    public String getRoleLimit() {
		return roleLimit;
	}

	public void setRoleLimit(String roleLimit) {
		this.roleLimit = roleLimit;
	}

	public void setOnlineTime(String onlineTime) 
    {
        this.onlineTime = onlineTime;
    }

    public String getOnlineTime() 
    {
        return onlineTime;
    }
    public void setGameLimit(Long gameLimit) 
    {
        this.gameLimit = gameLimit;
    }

    public Long getGameLimit() 
    {
        return gameLimit;
    }
    public void setStartTime(String startTime) 
    {
        this.startTime = startTime;
    }

    public String getStartTime() 
    {
        return startTime;
    }
    public void setStartDate(Date startDate) 
    {
        this.startDate = startDate;
    }

    public Date getStartDate() 
    {
        return startDate;
    }
    public void setEndDate(Date endDate) 
    {
        this.endDate = endDate;
    }

    public Date getEndDate() 
    {
        return endDate;
    }
    public void setShangUserId(Long shangUserId) 
    {
        this.shangUserId = shangUserId;
    }

    public Long getShangUserId() 
    {
        return shangUserId;
    }
    public void setZhongUserId(Long zhongUserId) 
    {
        this.zhongUserId = zhongUserId;
    }

    public Long getZhongUserId() 
    {
        return zhongUserId;
    }
    public void setShootUserId(Long shootUserId) 
    {
        this.shootUserId = shootUserId;
    }

    public Long getShootUserId() 
    {
        return shootUserId;
    }
    public void setFuzhuUserId(Long fuzhuUserId) 
    {
        this.fuzhuUserId = fuzhuUserId;
    }

    public Long getFuzhuUserId() 
    {
        return fuzhuUserId;
    }
    public void setDayeUserId(Long dayeUserId) 
    {
        this.dayeUserId = dayeUserId;
    }

    public Long getDayeUserId() 
    {
        return dayeUserId;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("title", getTitle())
            .append("area", getArea())
            .append("gameType", getGameType())
            .append("coinType", getCoinType())
            .append("userNum", getUserNum())
            .append("levelLimit", getLevelLimit())
            .append("onlineTime", getOnlineTime())
            .append("gameLimit", getGameLimit())
            .append("startTime", getStartTime())
            .append("startDate", getStartDate())
            .append("endDate", getEndDate())
            .append("shangUserId", getShangUserId())
            .append("zhongUserId", getZhongUserId())
            .append("shootUserId", getShootUserId())
            .append("fuzhuUserId", getFuzhuUserId())
            .append("dayeUserId", getDayeUserId())
            .append("userId", getUserId())
            .append("status", getStatus())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
